package oop5.flight;

public class FlightTest {
    public static void main(String[] args) {
        show(new Bat());
        show(new Airplane());
        show(new Kite());
    }

    public static void show(Flight flight) {
        System.out.println(flight.fly());
    }
}
